package com.neusoft.neuiotms.dcam.workflow.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.workflow.dto.LingyongConfrimSLDTO;
import com.neusoft.neuiotms.dcam.workflow.dto.LingyongSLDTO;

public interface LingyongSLService {

    LingyongSLDTO create(LingyongSLDTO dto, UserBean user);

    LingyongSLDTO detail(String workOrderNum, String taskId, UserBean user);

    List<LingyongConfrimSLDTO> confrimCreate(List<LingyongConfrimSLDTO> dto, UserBean user);

    LingyongSLDTO confrimDetail(String workOrderNum, String taskId, UserBean user);

    List<LingyongConfrimSLDTO> distributeCreate(List<LingyongConfrimSLDTO> dto, UserBean user);

    LingyongSLDTO distributeDetail(String workOrderNum, String taskId, UserBean user);

    List<LingyongSLDTO> search(Searchable searchable);

    Page<LingyongSLDTO> search(Pageable pageable, Searchable searchable);

    LingyongSLDTO detail(Long id);

    void reject(String workOrderNum);

}
